package com.library.entity.po;

import com.library.entity.Book;

/**
 * 书籍信息
 */
public class BookPO {
    private Book book; // 书籍
    private Long count; // 书籍总数
    private Long borrowCount; // 借出数量

    public BookPO() {
    }

    public BookPO(Book book, Long count, Long borrowCount) {
        this.book = book;
        this.count = count;
        this.borrowCount = borrowCount;
    }


    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getBorrowCount() {
        return borrowCount;
    }

    public void setBorrowCount(Long borrowCount) {
        this.borrowCount = borrowCount;
    }


    @Override
    public String toString() {
        return "BookPO{" +
                "book=" + book +
                ", count=" + count +
                ", borrowCount=" + borrowCount +
                '}';
    }
}
